﻿using CrystalDecisions.CrystalReports.Engine;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QRCode
{
    public partial class PrintShowDialog : Form
    {
        public PrintShowDialog()
        {
            InitializeComponent();
        }

        public void ShowReport(ReportDocument ReportData, string Title)
        {
            this.crystalReportViewer1.ReportSource = ReportData;
            this.Text = Title;
            base.Show();
        }
    }
}
